package com.sjgtw.cloud.remote.controller;

import com.sjgtw.cloud.common.core.web.controller.BaseController;
import com.sjgtw.cloud.common.core.web.domain.AjaxResult;
import com.sjgtw.cloud.common.core.web.page.TableDataInfo;
import com.sjgtw.cloud.web.jointDefenceUnit.domain.JointDefenceUnit;
import com.sjgtw.cloud.web.jointDefenceUnit.service.IJointDefenceUnitService;
import com.sjgtw.cloud.web.keysArea.domain.KeysAreas;
import com.sjgtw.cloud.web.keysArea.service.IKeysAreasService;
import com.sjgtw.cloud.web.rainfallMonitoring.domain.RainfallMonitoring;
import com.sjgtw.cloud.web.rainfallMonitoring.service.IRainfallMonitoringService;
import com.sjgtw.cloud.web.reservoir.domain.Reservoir;
import com.sjgtw.cloud.web.reservoir.service.IReservoirService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * 水库分布Controller
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
@RestController
@Api(tags = "定时任务调用雨量计上报数据筛选产生报警信息")
@RequestMapping("/remoteRainfallMonitoring")
public class RemoteRainfallMonitoringController extends BaseController
{


    @Autowired
    private IRainfallMonitoringService rainfallMonitoringService;

    /**
     * 查询有效的雨量报警记录信息
     */

    @GetMapping("/getRainfallMonitoringList")
    @ApiOperation("查询有效的雨量报警记录信息")
    public AjaxResult processRecord()
    {
        return rainfallMonitoringService.processRecord();
    }

}
